package demo.DtoToVo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

/**
 * @author : GuoFei
 * @date : 2019/4/26 15:59
 */
@Data
@NoArgsConstructor
public class UserInfo {
    private Integer id;
    private String name;
    private Boolean sex;
    private Double age;
    private Set<String> message;
    private Set<Product> products;
    private Product product;

    public UserInfo(Integer id, String name, Boolean sex, Double age, Set<String> message, Set<Product> products, Product product) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.message = message;
        this.products = products;
        this.product = product;
    }
}
